<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/JQuery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/index.js"></script>
    <link rel="stylesheet" href="css/bootstrap.min.css">
</head>

<body style="padding:0px 20px;">
    <div class="panel panel-default panel-primary ">
        <div class="panel-heading ">添加新图书</div>
        <div class="panel-body ">
            <form class="form-inline ">
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">书名</div>
                        <input type="text" class="form-control" id='bookn' placeholder="请输入书名">
                    </div>
                    <div class="input-group">
                        <div class="input-group-addon">作者</div>
                        <input type="text" class="form-control" id="booka" placeholder="请输入作者">
                    </div>
                    <div class="input-group">
                        <div class="input-group-addon">出版社</div>
                        <input type="text" class="form-control" id="bookp" placeholder="请输入出版社">
                    </div>
                </div>
                <button type="button" class="btn btn-primary  btn-ensure">添加</button>
            </form>

        </div>
    </div>

    <table class="table table-bordered table-hover ">
        <thead>
            <tr>
                <th>ID</th>
                <th>书名</th>
                <th>作者</th>
                <th>出版社</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody id='tb' class="">

        </tbody>
    </table>

    <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">提示！！！</h4>
                </div>
                <div class="modal-body">
                    <p>请输入正确的格式！&hellip;</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>

                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
    <!-- /.modal -->


    <div class="navbar">
        <a class="navbar-brand" href="#">Title</a>
        <ul class="nav navbar-nav">
            <li class="active">
                <a href="#">Home</a>
            </li>
            <li>
                <a href="#">Link</a>
            </li>
        </ul>
    </div>
</body>

</html>